package com.yangtao.prototype.system.log.service;

import java.util.List;

import com.yangtao.framework.web.BaseModel;
import com.yangtao.prototype.system.entity.LogNote;
import com.yangtao.prototype.system.entity.MenuTree;
import com.yangtao.prototype.system.entity.SysUser;

public class LogModel extends BaseModel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private SysUser domain;

	private List<MenuTree> menus;
	private LogNote ln;
	private String topId;
	private String logId;

	public String getLogId() {
		return logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	public String getTopId() {
		return topId;
	}

	public void setTopId(String topId) {
		this.topId = topId;
	}

	public List<MenuTree> getMenus() {
		return menus;
	}

	public void setMenus(List<MenuTree> menus) {
		this.menus = menus;
	}

	public LogNote getLn() {
		if (ln == null)
			ln = new LogNote();
		return ln;
	}

	public void setLn(LogNote ln) {
		this.ln = ln;
	}

	public void setDomain(SysUser domain) {
		this.domain = domain;
	}

	@Override
	public SysUser getDomain() {
		if (domain == null)
			domain = new SysUser();
		return domain;
	}

}
